<div class="row log_in">
	<div class="col-md-offset-4 col-md-5">
		<div class="panel panel-default">
			<div class="panel-heading" style="padding: 3px 10px">
				<label>登陆</label>
			</div>
			<div class="panel-body">

				<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
					<div class="form-group">
						<!--<#%= f.label '邮箱' %><br />-->
						<%= f.email_field :email, autofocus: true ,class: 'form-control',placeholder: '邮箱'%>
					</div>

					<div class="form-group">
						<!--<#%= f.label :password %><br />-->
						<%= f.password_field :password, autocomplete: "off" ,class: 'form-control',placeholder: '密码'%>
					</div>

					<% if devise_mapping.rememberable? -%>
						<div class="form-group">
							<%= f.check_box :remember_me %>
							<%= f.label :'记住登陆状态' %>
						</div>
					<% end -%>

					<div class="actions form-group" style="display: block">
						<%= f.submit "登陆",class:'btn btn-primary btn-block' %>
					</div>
				<% end %>

			</div>
			<div class="panel-footer">
				<%= render "devise/shared/links" %>
			</div>
		</div>
	</div>
</div>
